import request from '../utils/request'

function queryList(data){
  return request({
    url:'/front/resource/queryList',
    method:'get',
    params:data
  })
}

function publish(data){
  return request({
    url:'/front/resource/publish',
    method:'post',
    data
  })
}

export default {queryList,publish}